package lab02.test05;

/**
 * Created by AIR on 2017/10/15.
 */
public class Cube {
    //属性：立方体的长、宽和高
    float cubeLong;
    float cubeWide;
    float cubeHigh;

    //行为：对变量进行初始化，计算立方体体积，求给定尺寸的立方体的体积
    void initialize(){}

    float volums(){

        return cubeLong * cubeWide * cubeHigh;
    }

    float revolums(){

        return cubeLong * cubeWide * cubeHigh;
    }
}
